# 使用蓝图
from flask import Blueprint, render_template
from .models import *

blue = Blueprint('user',__name__)


@blue.route('/')
def home():
    pass

    data = {
        'name' : 'ikun ikun ikun',
        'age' : 16,
        'likes' : ['ball', 'sing', 'dance', 'code']
    }
    # return render_template('home.html', **data)
    # return render_template('base.html')
    # return render_template('child1.html')
    return render_template('child2.html', **data)

